package com.yipei.business.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yipei.business.domain.MlTodayProfit;
import com.yipei.common.core.domain.entity.MlTradeAccount;

/**
 * 今日利润Mapper接口
 * 
 * @author yipei
 * @date 2024-12-21
 */
public interface MlTodayProfitMapper extends BaseMapper<MlTodayProfit>
{
    /**
     * 查询今日利润
     * 
     * @param id 今日利润主键
     * @return 今日利润
     */
    public MlTodayProfit selectMlTodayProfitById(Long id);

    /**
     * 查询今日利润列表
     * 
     * @param mlTodayProfit 今日利润
     * @return 今日利润集合
     */
    public List<MlTodayProfit> selectMlTodayProfitList(MlTodayProfit mlTodayProfit);

    /**
     * 新增今日利润
     * 
     * @param mlTodayProfit 今日利润
     * @return 结果
     */
    public int insertMlTodayProfit(MlTodayProfit mlTodayProfit);

    /**
     * 修改今日利润
     * 
     * @param mlTodayProfit 今日利润
     * @return 结果
     */
    public int updateMlTodayProfit(MlTodayProfit mlTodayProfit);

    /**
     * 删除今日利润
     * 
     * @param id 今日利润主键
     * @return 结果
     */
    public int deleteMlTodayProfitById(Long id);

    /**
     * 批量删除今日利润
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMlTodayProfitByIds(Long[] ids);
}
